//
//  TYTextContainerInfo.m
//  高仿暴走斗图
//
//  Created by key on 16/4/20.
//  Copyright © 2016年 huangsongyao. All rights reserved.
//

#import "TYTextContainerInfo.h"

@implementation TYTextContainerInfo

- (instancetype)initWithDictionary:(NSDictionary *)dic {
    
    if (self = [super initWithDictionary:dic]) {
        
        _captureCount = dic[@"captureCount"];
        _capturedStrings = dic[@"capturedStrings"];
        _capturedRanges = (__bridge const NSRange *)(dic[@"capturedRanges"]);
        _stop = dic[@"stop"];
    }
    return self;
}

+ (instancetype)initWithDictionary:(NSDictionary *)dic {
    
    return [[self alloc] initWithDictionary:dic];
}

@end
